<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of SalesForceEventPoco
 *
 * @author Mubashar
 */
class SalesForceEventPoco {
     /** @var string */
    public $Id;
    /** @var Date */
    public $ActivityDate;
    /** @var DateTime */
    public $ActivityDateTime;
    /** @var Array */
    public $Attendees;
    /** @var string */
    public $Description;
    /** @var DateTime */
    public $EndDateTime;
    /** @var boolean */
    public $IsAllDayEvent;
    /** @var boolean */
    public $IsDeleted;
    /** @var boolean */
    public $IsPrivate;
    /** @var boolean */
    public $IsRecurrence;
    /** @var boolean */
    public $IsReminderSet;
    /** @var string */
    public $Location;
    /** @var DateTime */
    public $LastModifiedDate;
    /** @var string */
    public $OwnerId;
    /** @var DateTime */
    public $ReminderDateTime;
    /** @var string */
    public $ShowAs;
    /** @var DateTime */
    public $StartDateTime;
    /** @var string */
    public $Subject;
    /** @var string */
    public $Type;
    /** @var string */
    public $WhoId;
    
    public $google_event_url;
    
    public function __construct(){
        
    }
    
    //~ Getters & setters

    /**
     * @return int <i>null</i> if not persistent
     */
    public function getId() {
        return $this->Id;
    }

    public function setId($Id) {
        if ($this->Id !== null && $this->Id != $Id) {
            throw new Exception('Cannot change identifier to ' . $Id . ', already set to ' . $this->Id);
        }
        $this->Id = (string) $Id;
    }
    
    /**
     * @return Date
     */
    public function getActivityDate() {
        return $this->ActivityDate;
    }

    public function setActivityDate($activityDate) {
        $this->ActivityDate = $activityDate;
    }
    
    /**
     * @return DateTime
     */
    public function getActivityDateTime() {
        return $this->ActivityDateTime;
    }

    public function setActivityDateTime($activityDateTime) {
        $this->ActivityDateTime = $activityDateTime;
    }
    
    /**
     * @return String
     */
    public function getDescription() {
        return $this->Description;
    }

    public function setDescription($description) {
        $this->Description = $description;
    }
    
    /**
     * @return DateTime
     */
    public function getEndDateTime() {
        return $this->EndDateTime;
    }

    public function setEndDateTime($endDateTime) {
        $this->EndDateTime = $endDateTime;
    }
    
    /**
     * @return boolean
     */
    public function getIsAllDayEvent() {
        return $this->IsAllDayEvent;
    }

    public function setIsAllDayEvent($isAllDayEvent) {
        $this->IsAllDayEvent = (bool) $isAllDayEvent;
    }
    
    /**
     * @return boolean
     */
    public function getIsDeleted() {
        return $this->IsAllDayEvent;
    }

    public function setIsDeleted($isDeleted) {
        $this->IsDeleted = (bool) $isDeleted;
    }
    
    /**
     * @return boolean
     */
    public function getIsPrivate() {
        return $this->IsPrivate;
    }

    public function setIsPrivate($isPrivate) {
        $this->IsPrivate = (bool) $isPrivate;
    }
    
    /**
     * @return boolean
     */
    public function getIsRecurrence() {
        return $this->IsRecurrence;
    }

    public function setIsRecurrence($isRecurrence) {
        $this->IsRecurrence = (bool) $isRecurrence;
    }
    
    /**
     * @return boolean
     */
    public function getIsReminderSet() {
        return $this->IsReminderSet;
    }

    public function setIsReminderSet($isReminderSet) {
        $this->IsReminderSet = (bool) $isReminderSet;
    }
    
    /**
     * @return DateTime
     */
    public function getLastModifiedDate() {
        return $this->EndDateTime;
    }

    public function setLastModifiedDate($lastModifiedDate) {
        $this->LastModifiedDate = $lastModifiedDate;
    }
    
    /**
     * @return String
     */
    public function getLocation() {
        return $this->Location;
    }

    public function setLocation($location) {
        $this->Location = $location;
    }
    
    /**
     * @return String
     */
    public function getOwnerId() {
        return $this->OwnerId;
    }
    
    public function setOwnerId($ownerId) {
        $this->OwnerId = $ownerId;
    }
    
    /**
     * @return DateTime
     */
    public function getReminderDateTime() {
        return $this->ReminderDateTime;
    }

    public function setReminderDateTime($reminderDateTime) {
        $this->ReminderDateTime = $reminderDateTime;
    }
    
    /**
     * @return String
     */
    public function getShowAs() {
        return $this->ShowAs;
    }
    
    public function setShowAs($showAs) {
        $this->ShowAs = $showAs;
    }
    
    /**
     * @return DateTime
     */
    public function getStartDateTime() {
        return $this->StartDateTime;
    }

    public function setStartDateTime($startDateTime) {
        $this->StartDateTime = $startDateTime;
    }
    
    /**
     * @return String
     */
    public function getSubject() {
        return $this->Subject;
    }
    
    public function setSubject($subject) {
        $this->Subject = $subject;
    }
    
    /**
     * @return String
     */
    public function getType() {
        return $this->Type;
    }
    
    public function setType($type) {
        $this->Type = $type;
    }
    
    /**
     * @return String
     */
    public function getWhoId() {
        return $this->WhoId;
    }
    
    public function setWhoId($whoId) {
        $this->WhoId = $whoId;
    }
    
    /**
     * @return String
     */
    public function getGoogleEventUrl() {
        return $this->google_event_url;
    }
    
    public function setGoogleEventUrl($url) {
        $this->google_event_url = $url;
    }
    
    /**
     * @return Array
     */
    public function getAttendees() {
        return $this->Attendees;
    }
    
    public function setAttendees($attendees) {
        $this->Attendees = $attendees;
    }
}

?>
